import QtQuick 2.15
import QtQuick.Layouts

Rectangle{//下拉选择按钮
    width: maxWidth
    height: parent.height/2
    color: "grey"
    border.width: 1
    border.color:"white"

    RowLayout {
        anchors.fill: parent
        spacing: 10

        Image {
            Layout.alignment: Qt.AlignHCenter
            source: iconCheckedUrl
            x:20
        }
        Text {
            Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
            font.pixelSize: fontSize // 设置字体大小
            text:name
            color: "white"
        }
    }
}

